﻿using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Numerics;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Markup;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;
using System.Xml;

namespace WPFTest
{
    /// <summary>
    /// Interaction logic for OtherWindow.xaml
    /// </summary>
    public partial class OtherWindow : Window
    {
        public OtherWindow()
        {
            InitializeComponent();
            //string s = XamlWriter.Save(button.Template);
            //textBox1.Text = s;
            long x = 1;
            decimal d = x;
            BigInteger y = x;
        }

        private void listBox1_SelectionChanged(object sender, SelectionChangedEventArgs e)
        {
            object obj = listBox1.SelectedItem;
            MessageBox.Show(obj.GetType().ToString());
        }

        private void Button2_Click(object sender, RoutedEventArgs e)
        {
        }
    }
}
